<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>坦克大战 - 多人在线版</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f0f0f0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background-image: linear-gradient(to bottom right, #4CAF50, #2196F3);
        }
        .container {
            width: 90%;
            max-width: 800px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
            padding: 30px;
            text-align: center;
            margin: 20px;
        }
        h1 {
            color: #333;
            font-size: 2rem;
            margin-bottom: 20px;
        }
        p {
            color: #666;
            font-size: 1rem;
            margin-bottom: 30px;
            line-height: 1.6;
        }
        .btn {
            display: inline-block;
            padding: 15px 30px;
            background-color: #4CAF50;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: bold;
            transition: background-color 0.3s;
            margin: 10px;
        }
        .btn:hover {
            background-color: #45a049;
        }
        .features {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            margin: 40px 0;
        }
        .feature {
            flex: 1;
            min-width: 250px;
            padding: 20px;
            margin: 10px;
            background-color: #f9f9f9;
            border-radius: 5px;
        }
        .feature h3 {
            color: #4CAF50;
        }
        .footer {
            margin-top: 40px;
            color: #999;
            font-size: 14px;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>坦克大战 - 多人在线版</h1>
        <p>与好友一起体验经典坦克大战游戏的多人在线版本！创建或加入房间，与其他玩家一决高下！</p>
        
        <a href="/rooms.html" class="btn">开始游戏</a>
        
        <div class="features">
            <div class="feature">
                <h3>多人对战</h3>
                <p>支持多达4名玩家同时在线对战，体验紧张刺激的坦克大战！</p>
            </div>
            <div class="feature">
                <h3>实时同步</h3>
                <p>基于Socket.io的实时通信，确保游戏状态同步，体验流畅的游戏过程。</p>
            </div>
            <div class="feature">
                <h3>自定义外观</h3>
                <p>自定义坦克颜色，打造专属于你的战车，在战场上脱颖而出！</p>
            </div>
        </div>
        
        <div class="footer">
            <p>© 2023 坦克大战多人在线版 | 使用HTML5、CSS3和JavaScript开发</p>
        </div>
    </div>
</body>
</html>